package com.vmj.classfile.entity.constantinfo;

import com.vmj.classfile.ClassReader;
import com.vmj.classfile.entity.AbstractConstantInfo;

/**
 * Created by yangshoujun on 2017/8/6 下午2:22.
 */
public class ConstantDoubleInfo extends AbstractConstantInfo {

    double value;

    public ConstantDoubleInfo(ClassReader reader) {
        super(reader);
    }

    public void parse() {
        value = getReader().readDouble();
    }

    public double getValue() {
        return value;
    }

    public void setValue(double value) {
        this.value = value;
    }
}
